package top.csjss.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.csjss.domain.Project;
import top.csjss.mapper.ProjectMapper;
import top.csjss.service.ProjectService;

import java.util.List;

/**
 * @Author ztf
 * @Date 13:42 2021/10/7
 **/
@Service
public class ProjectServiceImpl implements ProjectService {
    @Autowired
    private ProjectMapper projectMapper;

    @Override
    public List<Project> findAll() {
        return projectMapper.selectByExample(null);
    }
}
